package cn.myfirefly.moming.common.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.myfirefly.moming.common.model.DepartmentDto;
import cn.myfirefly.moming.common.model.RoleDataAuthDto;
import cn.myfirefly.moming.common.model.UserDto;

public interface RoleDataAuthMapper {
	
	public List<RoleDataAuthDto> getRoleDataAuth(@Param("funId")String funId, @Param("roleSn")Integer roleSn);
	
	public List<RoleDataAuthDto> getRoleDataAuthList(@Param("systemId")Integer systemId, @Param("loginName")String loginName);
	
	public List<DepartmentDto> getDeptByLoginName(String loginName);
	
	public List<UserDto> getUserByDeptId(Integer deptId);
}
